package com.yima.baseproj.module.sys.student;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yima.baseproj.module.sys.student.model.StudentExcel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class TestService extends ServiceImpl<TestMapper, StudentExcel> {


    @Transactional(rollbackFor = Exception.class)
    public void test(StudentExcel studentExcel){
        baseMapper.insert(studentExcel);
    }
}
